package cn.hahah.module.blog.controller.admin.setting.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 博客系统设置新增/修改 Request VO")
@Data
public class SettingSaveReqVO {

    @Schema(description = "设置编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23021")
    private Long id;

    @Schema(description = "英文名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "英文名不能为空")
    private String keyEn;

    @Schema(description = "中文名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "中文名不能为空")
    private String keyZh;

    @Schema(description = "设置值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设置值不能为空")
    private String value;

}